<template>
	<div class="common-layout">
		<el-dialog title="流程详情" :close-on-click-modal="false" v-model="state.visible" width="95%"   @close="refreshEmit">
		</el-dialog>
	</div>
</template>
<script setup lang="ts" name="approveProcessCommon">
import { FormInstance } from 'element-plus'
import { defineAsyncComponent, reactive, ref } from 'vue'
import { developApi } from '/@/api/sys/develop-api'
import { post } from '/@/api/http'
import { TaskParam } from '/@/api/sys/workflow-api';

const approveHisDetailFoot = defineAsyncComponent(() => import('./approveHisDetailFoot.vue'))
const approveCommonFoot = defineAsyncComponent(() => import('./approveCommonFoot.vue'))
// 定义子组件向父组件传值/事件
const emit = defineEmits(['refreshDataList'])
const state = reactive({
	visible: false,	
})

// 关闭弹窗
const closeDialog = () => {
	state.visible = false
}

const refreshEmit = () => {
	closeDialog()
	emit('refreshDataList')
}
</script>